package test01;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;

public class Test02 {
    private static int a;

    public static void main(String[] args) {  //可执行方法main
        
        List<String> list = new ArrayList<String>();
        list.add(null);
        System.out.println(list+","+list.size());
        
        
        
        
        /*HashSet<String> set = new HashSet<String>();
        
        Iterator<String> it1 = list.iterator();*/
        
        
        
        
        //int c;
//        System.out.println(a);
        
        
       /* Integer a = null;
        int b;
        try {
            b = a;
            System.out.println(b);
        } catch (Exception e) {
            e.printStackTrace();
            // TODO: handle exception
        }*/
        /*Integer a = 10000;
        Integer b = 1000;
        System.out.println(a.equals(b));*/
        //System.out.println("\"code\":0");
        
       /* int a = 1;
        int b = 5;
        
        int sum = a+b;
        
        if(sum<10){
            sum = 0;
        }else if(sum==10){
            sum = 1;
        }else{
            sum = 2;
        }
        
        System.out.println(sum);  //控制台打印sum的值
*/        
    }

}
